package com.intelligent.ispc.core.repository.jdbc;

import com.intelligent.ispc.common.persistence.jdbc.JdbcPageable;
import com.intelligent.ispc.core.entity.User;

import java.util.List;
import java.util.Map;

/**
 * Created by Peter on 15/11/24.
 */
public interface UserDao {

    List<User> findAll();

    JdbcPageable findAll(Map<String,Object> searchParams, String sortType, int pageSize, int pageNumber);

}
